문제풀이 DP ICPC Southeastern Europe Contest 2019 D Game on a Tree Game on a Tree Alice and Bob play a game on a tree. She chooses any node and put a chip on it. In each turn, a player moves the chip from the current position to an ancestor or descendant node, as long as the node is not... 문제풀이 DP사유
ICPC Southeastern Europe Contest 2019 D Game on a Tree Game on a Tree Alice and Bob play a game on a tree. She chooses any node and put a chip on it. In each turn, a player moves the chip from the current position to an ancestor or descendant node, as long as the node is not... 문제풀이 DP사유